net/http.transferWriter.Body (field)
22 uses
net/http (current package)
transfer.go#L61: Body io.Reader
transfer.go#L91: t.Body = rr.Body
transfer.go#L104: if t.ContentLength != 0 && !isKnownInMemoryReader(t.Body) {
transfer.go#L114: t.Body = rr.Body
transfer.go#L127: t.Body = nil
transfer.go#L132: if !atLeastHTTP11 || t.Body == nil {
transfer.go#L137: } else if t.Body == nil { // no chunking, no body
transfer.go#L171: if t.ContentLength >= 0 || t.Body == nil { // redundant checks; caller did them
transfer.go#L182: return t.Body != nil
transfer.go#L216: }(t.Body)
transfer.go#L223: t.Body = nil
transfer.go#L227: t.Body = io.MultiReader(&byteReader{b: rres.b}, errorReader{rres.err})
transfer.go#L229: t.Body = io.MultiReader(&byteReader{b: rres.b}, t.Body)
transfer.go#L232: t.Body = errorReader{rres.err}
transfer.go#L239: t.Body = io.MultiReader(finishAsyncByteRead{t}, t.Body)
transfer.go#L351: if t.Body != nil {
transfer.go#L424: if reflect.TypeOf(t.Body) == nopCloserType {
transfer.go#L425: return reflect.ValueOf(t.Body).Field(0).Interface().(io.Reader)
transfer.go#L427: if r, ok := t.Body.(*readTrackingBody); ok {
transfer.go#L431: return t.Body
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)